package com.example.shoppingmall.dao;


import com.example.shoppingmall.pojo.LogisticsCompany;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LogisticsCompanyMapper {

    List<LogisticsCompany> getAll(@Param("dang") int dang, @Param("size") int size);

    int count();

    int del(int id);

    int updateLogisticsCompany(LogisticsCompany logisticsCompany);

    int addLogisticsCompany(LogisticsCompany logisticsCompany);

    LogisticsCompany getById(@Param("id") int id);



}
